package com.gxuwz.stats.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.gxuwz.stats.entity.TotalWork;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface TotalWorkMapper extends BaseMapper<TotalWork> {
//    @Select("SELECT t.*, u.username " +
//            "FROM rsp_total_work t " +
//            "LEFT JOIN rsp_user u ON t.user_id = u.user_id " +
//            "${ew.customSqlSegment}")
//    IPage<TotalWork> selectTotalWorkWithUsername(IPage<TotalWork> page, @Param(Constants.WRAPPER) Wrapper<TotalWork> queryWrapper);
}
